<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>FlaskAPI-www.zsuuu.com</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
     <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
<div class="body_center">
    <div class="item"><h1>欢迎来到{{name}}的FlaskAPI</h1></div>
    <div class="item"><h4>这是一个使用 Flask 框架编写的API,样例:</h4></div>
    <ul>
        {% for api_name, api_details in apis.items() %}
            <li>
                <div><strong>{{ api_details.api }}</strong></div>
                <div><a href="{{ api_details.url }}">{{ api_details.url }}</a></div>
            </li>
        {% endfor %}
    </ul>
</div>
</body>
</html>